﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ViewCourse.aspx.cs" Inherits="UniversityManagementSystem.UI.ViewCourse" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <link href="../Styles/fontStyleSheet.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="fontStyle">
        <asp:Label ID="Label1" runat="server" Text="Department" 
            CssClass="labelAlignment"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:DropDownList ID="departmentDropDownList" runat="server" AutoPostBack="True" 
            onselectedindexchanged="departmentDropDownList_SelectedIndexChanged" 
            CssClass="comboBoxAlignment">
        </asp:DropDownList>
        <br />
        <br />
        <asp:Label ID="Label2" runat="server" Text="Semester" CssClass="labelAlignment"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:DropDownList ID="semesterDropDownList" runat="server" AutoPostBack="True" 
            onselectedindexchanged="semesterDropDownList_SelectedIndexChanged" 
            CssClass="comboBoxAlignment">
        </asp:DropDownList>
        <br />
        <br />
        <br />
        <asp:GridView ID="allCoursesGridView" runat="server" 
            AutoGenerateColumns="False">
            <Columns>
                <asp:BoundField DataField="CourseTitle" HeaderText="Course Title" 
                    ReadOnly="True" SortExpression="CourseTitle" />
                <asp:BoundField DataField="CourseName" HeaderText="Course Name" ReadOnly="True" 
                    SortExpression="CourseName" />
                <asp:BoundField DataField="CourseCredit" HeaderText="Course Credit" 
                    ReadOnly="True" SortExpression="CourseCredit" />
                <asp:BoundField DataField="CouresSemester" HeaderText="Semester" 
                    ReadOnly="True" SortExpression="CouresSemester" />
                <asp:BoundField DataField="CourseTeacher" HeaderText="AssignedTo" 
                    ReadOnly="True" />
            </Columns>
        </asp:GridView>
        <br />
        <asp:Label ID="messageLabel" runat="server"></asp:Label>
    </div>
</asp:Content>
